#!/usr/bin/python
# -*- coding: utf-8 -*-

import MySQLdb as mdb
import sys
con = mdb.connect('localhost', 'root', 'root', 'MonitorDB');
count = 0
with con:
	cur = con.cursor()
	query = "SELECT * FROM feedback_feedback WHERE kind='u'"
	cur.execute(query)
	count = int(cur.rowcount)
	print count

